package org.wyl.xiachufang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 菜谱所需食材
 * @author 吴宇亮 on 2022/7/25 16:42
 */
@TableName("menu_food")
public class MenuFoodEntity {

    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("menu_name")
    private String menuName;
    @TableField("food_name")
    private String foodName;
    @TableField("food_amount")
    private String foodAmount;

    public String getId() {
        return id;
    }

    public MenuFoodEntity setId(String id) {
        this.id = id;
        return this;
    }

    public String getMenuName() {
        return menuName;
    }

    public MenuFoodEntity setMenuName(String menuName) {
        this.menuName = menuName;
        return this;
    }

    public String getFoodName() {
        return foodName;
    }

    public MenuFoodEntity setFoodName(String foodName) {
        this.foodName = foodName;
        return this;
    }

    public String getFoodAmount() {
        return foodAmount;
    }

    public MenuFoodEntity setFoodAmount(String foodAmount) {
        this.foodAmount = foodAmount;
        return this;
    }
}
